﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SDT.Model;
using SDT.Lib.Paging;
namespace SDT.Admin.ViewModels
{
    public class EventIndexViewModel
    {
        public IPagedList<Event> Events;
        public Dictionary<object, object> HomeYN = new Dictionary<object, object>();
        public Dictionary<object, object> PubStatus = new Dictionary<object, object>();
        public int CurrentCat;
        public int CurrentHomeYN;
        public int CurrentPubStatus;
        public string Keyword;
        public string ImageRootUrl;
    }
    public class EventEditViewModel
    {
        public Event Event { get; set; }
        public string ImageRootUrl { get; set; }
        public IList<ArticleCategory> Categories { get; set; }
    }
}
